package main

import (
	"strings"
	"fmt"
)

func main() {
	s := "Hello, 世界! Hello!"
	ss := strings.Split(s, " ")
	fmt.Printf("%q\n", ss) // ["Hello," "世界!" "Hello!"]
	ss = strings.Split(s, ", ")
	fmt.Printf("%q\n", ss) // ["Hello" "世界! Hello!"]
	ss = strings.Split(s, "")
	fmt.Printf("%q\n", ss) // 单个字符列表
	nnn :=strings.Split("sdfsdfsdf,ndf,sdf,sdf,asde", ",")
	fmt.Println(nnn[0])
}